import advView from "$v/adv";  //引入视图

export default (req, res, next) => {
    next(advView({
        subRoute: res.subRoute(),
        //给adv主页传递一个路径,方便在页面内进行url比较进行高亮显示
        url: req.url,
    }))
}